home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 2 / Atari Mega Archive CD - Volume 2.iso / minix / up1510b.tgz / up1510b / src / mm / glo.h < prev    next >
C/C++ Source or Header  |  1990-07-23  |  1KB  |  31 lines

  1. /* EXTERN should be extern except in table.c */
  2. #ifdef _TABLE
  3. #undef EXTERN
  4. #define EXTERN
  5. #endif
  6.  
  7. /* Global variables. */
  8. EXTERN struct mproc *mp;    /* ptr to 'mproc' slot of current process */
  9. EXTERN int dont_reply;        /* normally 0; set to 1 to inhibit reply */
  10. EXTERN int procs_in_use;    /* how many processes are marked as IN_USE */
  11.  
  12. /* The parameters of the call are kept here. */
  13. EXTERN message mm_in;        /* the incoming message itself is kept here. */
  14. EXTERN message mm_out;        /* the reply message is built up here. */
  15. EXTERN int who;            /* caller's proc number */
  16. EXTERN int mm_call;        /* system call number */
  17.  
  18. /* The following variables are used for returning results to the caller. */
  19. EXTERN int err_code;        /* temporary storage for error number */
  20. EXTERN int result2;        /* secondary result */
  21. EXTERN char *res_ptr;        /* result, if pointer */
  22.  
  23. extern int (*call_vec[])();    /* functions to handle system calls */
  24. extern char core_name[];    /* file name where core images are produced */
  25. extern unshort core_bits;    /* which signals cause core images */
  26. EXTERN char mm_stack[MM_STACK_BYTES];    /* MM's stack */
  27.  
  28. /* Library variables. */
  29. extern int errno;
  30.  
  31.